package com.ruoyi.culture.mapper;

import com.ruoyi.culture.domain.Classification;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClassificationMapper {
    void addOne(Classification classification);

    Classification selectTypeById(int parentId);

    List<Classification> list();

    int update(Classification classification);

    int delete(int id);
}
